require "yaml"

y = []
YAML.load_documents(open(ARGV[0])){|yy| y << yy}
puts YAML.dump(y)
